const translation = {
  workflowNotDebugged: 'Workflow not debugged successfully',
  noLLMNode: 'Workflow does not have LLM node',
  multipleParams: 'Workflow has multiple input parameters',
  cancel: 'Cancel',
  confirm: 'Confirm',
  continue: 'Continue',
  save: 'Save',
  reset: 'Reset',
  submit: 'Submit',
  run: 'Run',
  edit: 'Edit',
  delete: 'Delete',
  add: 'Add',
  create: 'Create',
  query: 'Search',
  debug: 'Debug',
  pleaseSelect: 'Please select',
  inputPlaceholder: 'Please enter',
  input: 'Input',
  output: 'Output',
  taskName: 'Task Name',
  conversationRounds: 'Conversation Rounds',
  conversationRoundsDescription:
    'Set the number of conversation rounds to use chat history in the node. More rounds mean higher relevance in multi-turn conversations, but also consume more tokens',
  // Common messages
  submitSuccess: 'Submit Successfully',
  submitFailed: 'Submit Failed',
  submitFailedRetry: 'Submit failed, please try again',
  answeringPleaseTryLater: 'Answering, please try again later',
  pleaseEnterQuestion: 'Please enter your question',
  answering: 'Answering...',
  stopOutput: 'Stop Output',
  // Member management
  roleUpdateSuccess: 'Role updated successfully',
  userDeleted: 'User {{username}} deleted',
  username: 'Username',
  role: 'Role',
  joinTime: 'Join Time',
  action: 'Action',
  confirmDelete: 'Confirm Delete',
  confirmDeleteMember: 'Are you sure you want to delete this member?',
  totalItems: 'Total {{total}} items',
  // Apply management
  applyIdNotExist: 'Application ID does not exist',
  confirmReject: 'Confirm Rejection',
  confirmRejectUser: 'Are you sure you want to reject this user?',
  rejectSuccess: 'Rejected successfully',
  rejectFailed: 'Rejection failed',
  confirmApprove: 'Confirm Approval',
  confirmApproveApplication:
    'Are you sure you want to approve this application?',
  approveSuccess: 'Approved successfully',
  approveFailed: 'Approval failed',
  reject: 'Reject',
  approve: 'Approve',
  applyTime: 'Apply Time',
  applyStatus: 'Application Status',
  // Transfer ownership
  pleaseSelectMemberToTransfer: 'Please select a member to transfer',
  transferSuccess: 'Transferred successfully',
  transferSpaceOwnership: 'Transfer Space Ownership',
  transferOwnershipWarning:
    'After transferring ownership, your status will be changed to administrator',
  transferOwnershipTo: 'Transfer ownership to',
  pleaseSelectMember: 'Please select a member',
  // Delete space
  verificationCodeSent: 'Verification code sent',
  pleaseEnterVerificationCode: 'Please enter verification code',
  deleteSpaceSuccess: 'Space deleted successfully',
  deleteSpace: 'Delete Space',
  deleteSpaceWarning:
    'Please delete carefully! After deletion, all data in the space will be lost, and the allocated quota will be deducted.',
  enterVerificationCodeForMobile:
    "Please enter the verification code received by the space owner's reserved phone number {{mobile}}",
  sendVerificationCode: 'Send Code',
  resendAfterSeconds: 'Resend in {{seconds}}s',
  // Space detail
  loadSpaceInfoFailed: 'Failed to load space information',
  inviteSuccess: 'Invited successfully',
  selectRole: 'Select role',
  selectStatus: 'Select status',
  pleaseEnterUsername: 'Please enter username',
  // Invitation list
  invitationStatus: 'Invitation Status',
  invitationTime: 'Invitation Time',
  joinSpace: 'Join Space',
  invitationResentToUser: 'Invitation has been resent to {{username}}',
  invitationRevokedForUser: 'Invitation for user {{username}} has been revoked',
  invitationRecordDeleted:
    'Invitation record for {{username}} has been deleted',
  revoke: 'Revoke',
  confirmRevokeInvitation: 'Confirm Revoke Invitation',
  confirmRevokeInvitationContent:
    'Are you sure you want to revoke the invitation to this user?',
  // Common validation messages
  valueCannotBeEmpty: 'Value cannot be empty',
  valueCannotBeRepeated: 'Value cannot be repeated',
  onlyLettersNumbersDashUnderscore:
    'Only letters, numbers, dashes or underscores are allowed',
  onlyLettersNumbersUnderscore:
    'Only letters, numbers or underscores are allowed',
  // Common form actions
  previousStep: 'Previous Step',
  nextStep: 'Next Step',
  // Common plugin related
  pluginParameters: 'Plugin Parameters',
  inputParameters: 'Input Parameters',
  outputParameters: 'Output Parameters',
  publishedAt: 'Published at',
  botAndFlowAnalysis: {
    past7Days: 'Past 7 Days',
    past14Days: 'Past 14 Days',
    past30Days: 'Past 30 Days',
    search: 'Search',
    reset: 'Reset',
    feedbackUserUid: 'Feedback User UID',
    errorCode: 'Error Code',
    feedbackTime: 'Feedback Time',
    nodeName: 'Node Name',
    totalCalls: 'Total Calls',
    errorCount: 'Error Count',
    operation: 'Operation',
    details: 'Details',
    cumulativeIndicators: 'Cumulative Indicators',
    totalChats: 'Total Chats',
    totalUsers: 'Total Users',
    totalTokenConsumption: 'Total Token Consumption (k)',
    totalMessages: 'Total Messages',
    cumulativeIndicatorsNotAffectedByTimeFilter:
      'Cumulative indicators are not affected by time filter',
    analysisOverview: 'Analysis Overview',
    activeUsers: 'Active Users',
    averageSessionInteraction: 'Average Session Interaction',
    tokenConsumption: 'Token Consumption',
    stabilityMonitoring: 'Stability Monitoring',
    nodeError: 'Node Error',
    userFeedbackError: 'User Feedback Error',
    errorLog: 'Error Log',
    errorReason: 'Error Reason',
  },
  storePlugin: {
    pluginSquare: 'Plugin Square',
    all: 'All',
    mostPopular: 'Most Popular',
    recentlyUsed: 'Recently Used',
    xingchenAgentOfficial: 'Astra Agent Official',
    noPlugins: 'No Plugins',
    privacyStatement: 'Privacy Statement',
    developerStatement:
      'Developer Statement: This plugin will not collect or transmit end-user personal information during use',
    pluginDetails: 'Plugin Details',
    xingchenOfficial: 'Astra Official',
    references: 'References',
    favorites: 'Favorites',
    botReferences: 'Bot References',
    favorited: 'Favorited',
    notFavorited: 'Not Favorited',
  },
  header: {
    plugin: 'Plugin',
    knowledge: 'Knowledge Base',
    database: 'Database',
    rpa: 'RPA',
  },
  // ToolInputParameters component translations
  pleaseEnterDefaultValue: 'Please enter default value',
  pleaseEnterParameterValue: 'Please enter parameter value',
  // Constant component translations
  gallerySelection: 'Gallery Selection',
  localUpload: 'Local Upload',
  aiGeneration: 'AI Generation',
  contains: 'Contains',
  notContains: 'Not Contains',
  isEmpty: 'Is Empty',
  isNotEmpty: 'Is Not Empty',
  is: 'Is',
  isNot: 'Is Not',
  startsWith: 'Starts With',
  endsWith: 'Ends With',
  equals: 'Equals',
  notEquals: 'Not Equals',
  greaterThan: 'Greater Than',
  greaterThanOrEqual: 'Greater Than or Equal',
  lessThan: 'Less Than',
  lessThanOrEqual: 'Less Than or Equal',
  isNull: 'Is Null',
  isNotNull: 'Is Not Null',
  fuzzyMatch: 'Fuzzy Match',
  fuzzyNotMatch: 'Fuzzy Not Match',
  in: 'In',
  notIn: 'Not In',
  isNullCondition: 'Is Null',
  isNotNullCondition: 'Is Not Null',

  // more-icons component translations
  moreIcons: {
    selectIcon: 'Select Icon',
    categories: {
      common: 'Common',
      sport: 'Sports',
      plant: 'Plants',
      explore: 'Explore',
    },
    aiGeneration: {
      avatarDescription: 'Avatar Description (AI Generation)',
      placeholder: 'Say something...',
      generate: 'Generate',
    },
    selectStyle: 'Select Style',
    upload: {
      dragOrSelect: 'Drag files here, or',
      chooseFiles: 'choose files',
      supportFormat:
        'Supports JPG, PNG and other formats. Single file should not exceed 2MB.',
    },
    validation: {
      descriptionEmpty: 'Description cannot be empty!',
      fileSizeExceed: 'Upload file size cannot exceed 2MB!',
      invalidFormat: 'Please upload JPG, PNG and other image formats',
    },
  },
};

export default translation;
